CC = gcc
CFLAGS = -g -Wall -Werror
#CFLAGS = -O3 -Wall -Werror
LDFLAGS = 
OBJS = grid.o cell.o solve.o

all: sudoku

sudoku: sudoku.c $(OBJS)
solve.o: solve.c solve.h grid.o cell.o
grid.o: grid.c grid.h cell.h
cell.o: cell.c cell.h

test: test.c $(OBJS)

clean:
	rm -f *~ *.o sudoku test *.exe
